package com.my.autoassociate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.my.autoassociate.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where id = #{id}")
    User findById(Long id);

}
